﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class MyLogo : MonoBehaviour {

    public string SceneName;

    void Awake()
    {
		/*Screen.orientation = ScreenOrientation.AutoRotation;
		Screen.autorotateToLandscapeLeft = true;
		Screen.autorotateToLandscapeRight = true;
		Screen.autorotateToPortrait = false;
		Screen.autorotateToPortraitUpsideDown = false;*/

        print(Screen.width 
       + "  "+Screen.height);
        Screen.SetResolution(1920, 1080, true);
    }
    public void JumpToScene(string scene)
    {
        SceneManager.LoadScene(SceneName);
    }
}
